package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/***
 ** Create by Wedream on 2021/7/27
 * 实体：试题广场
 * question_center(id,question,answer_num,collect_num,browse_num)
 */
@TableName("question_center")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionCenter {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String question;
    private Integer answerNum;
    private Integer collectNum;
    private Integer browseNum;
}
